package com.gxkj.spark.helloworld.entitys;

import com.gxkj.common.baseentitys.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "spark_sum")
public class SparkSum extends BaseModel {
    private static final long serialVersionUID = -5155038059445414661L;

    @Column(name = "a_sum")
    private double asum;

    @Column(name = "a_key")
    private String akey;

    public double getAsum() {
        return asum;
    }

    public void setAsum(double asum) {
        this.asum = asum;
    }

    public String getAkey() {
        return akey;
    }

    public void setAkey(String akey) {
        this.akey = akey;
    }
}
